Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Jun 17, 2025

The package compiles a library, but does not expose any symbol on Windows, so if the CMake project is compiled on on Windows, no library is actually generated.

On Linux and macOS, everything compiles by default all the symbols are visible. We can achieve exactly the same behavior in Windows by setting to ON the CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS CMake variable, so this PR sets the CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS variable to ON, to ensure that the compilation works fine on Windows.

Furthermore, the -Wpedantic -Werror are GCC/Clang specific compilations options, so I moved it in an if for adding GCC/Clang specific compilations options.


This is an automatic backport of pull request #1402 done by Mergify.

@urfeex urfeex merged commit f5cb451 into jazzy Jun 17, 2025
5 of 6 checks passed
@urfeex urfeex deleted the mergify/bp/jazzy/pr-1402 branch June 17, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants